package com.qf.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin
@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/login")
    public String login(String username,String password){
        System.out.println(username);
        System.out.println(password);
        return "ok";
    }

}
